package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.GcgWsjdShenpi;
import cn.stylefeng.guns.sys.modular.system.model.params.GcgWsjdShenpiParam;
import cn.stylefeng.guns.sys.modular.system.model.result.GcgWsjdShenpiResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 网上建店审批 Mapper 接口
 * </p>
 *
 * @author liuy
 * @since 2021-05-18
 */
public interface GcgWsjdShenpiMapper extends BaseMapper<GcgWsjdShenpi> {

    /**
     * 获取列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    List<GcgWsjdShenpiResult> customList(@Param("paramCondition") GcgWsjdShenpiParam paramCondition);

    /**
     * 获取map列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") GcgWsjdShenpiParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    Page<GcgWsjdShenpiResult> customPageList(@Param("page") Page page, @Param("paramCondition") GcgWsjdShenpiParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") GcgWsjdShenpiParam paramCondition);

    /**
     * 支付宝审批
     * @param
     */
    void zfbPass(GcgWsjdShenpi gcgWsjdShenpi);

    /**
     * 查询审批id
     * @param gcgWsjdId
     * @return
     */
    Long getSpId(@Param("gcgWsjdId") Long gcgWsjdId);

    int getCon(@Param("gcgWsjdId") Long gcgWsjdId);
}
